<nz-modal [(nzVisible)]="isVisible" nzTitle="选择上级菜单" (nzOnCancel)="handleCancel()" (nzOnOk)="handleOk()">
  <div class="container">

    <nz-input-group [nzSuffix]="suffixIcon" class="margin-bottom">
      <input type="text" nz-input placeholder="请输入菜单关键字搜索" [(ngModel)]="searchValue" />
    </nz-input-group>
    <ng-template #suffixIcon>
      <i nz-icon nzType="search"></i>
    </ng-template>
    <nz-tree
      [nzData]="nodes"
      [nzSearchValue]="searchValue"
      (nzClick)="nzEvent($event)"
      (nzExpandChange)="nzEvent($event)"
      (nzSearchValueChange)="nzEvent($event)"
    >
    </nz-tree>

  </div>

</nz-modal>
